SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 36195: If STYLES.DEFAULT is used to create EXCELXP output in a DBCS environment, the file cannot be opened in Microsoft Excel

DetailsCodeAboutRate It

In a SAS® session with the double-byte character set (DBCS) option set, if the DEFAULT style or a style with DEFAULT as its parent is applied to output created by the EXCELXP tagset, an XLS/XML file is created without any errors generated in the SAS Log. However, when the file is opened in Microsoft Excel, the following dialog box is generated:

Problems came up in the following areas during load:

Style

The problem is with the fonts definition in the style DEFAULT, which combines MS UI Gothic and Sans-serif. Alternative PROC TEMPLATE code is included in the Full Code tab showing a style template that removes the Sans-serif font.

This problem can also be encountered in a single-byte character set environment (NODBCS) if a fonts list includes a font name with more than one space and the Sans-serif specification. The workaround is the same as that shown in the Full Code tab, which illustrates the removal of the Sans-serif font in the list.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASz/OS9.1 TS1M3 SP49.4 TS1M3
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M3 SP4
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.1 TS1M3 SP4
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.1 TS1M3 SP4
Microsoft Windows XP 64-bit Edition9.1 TS1M3 SP4
Microsoft Windows 2000 Advanced Server9.1 TS1M3 SP4
Microsoft Windows 2000 Datacenter Server9.1 TS1M3 SP4
Microsoft Windows 2000 Server9.1 TS1M3 SP4
Microsoft Windows 2000 Professional9.1 TS1M3 SP4
Microsoft Windows NT Workstation9.1 TS1M3 SP4
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M3 SP4
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M3 SP4
Microsoft Windows Server 2003 Standard Edition9.1 TS1M3 SP4
Microsoft Windows XP Professional9.1 TS1M3 SP4
Windows Vista9.1 TS1M3 SP4
64-bit Enabled AIX9.1 TS1M3 SP49.4 TS1M3
64-bit Enabled HP-UX9.1 TS1M3 SP49.4 TS1M3
64-bit Enabled Solaris9.1 TS1M3 SP49.4 TS1M3
HP-UX IPF9.1 TS1M3 SP49.4 TS1M3
Linux9.1 TS1M3 SP49.4 TS1M3
Linux on Itanium9.1 TS1M3 SP49.4 TS1M3
OpenVMS Alpha9.1 TS1M3 SP49.4 TS1M3
Solaris for x649.1 TS1M3 SP49.4 TS1M3
Tru64 UNIX9.1 TS1M3 SP49.4 TS1M3
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.